#ifndef __GPLIB_JPEG_ENCODE_H__
#define __GPLIB_JPEG_ENCODE_H__

#include "driver_l1.h"

#define C_JPEG_FORMAT_YUV_SEPARATE	0x0
#define C_JPEG_FORMAT_YUYV			0x1

//JPEG
typedef enum
{
	ENUM_JPEG_LUMINANCE_QTABLE	= 0,
	ENUM_JPEG_CHROMINANCE_QTABLE
} JPEG_QTABLE_ENUM;

extern void jpeg_header_quantization_table_calculate(INT8U jpgDevNum, JPEG_QTABLE_ENUM table, INT32U quality, INT8U *qtable);
#endif // __GPLIB_JPEG_ENCODE_H__
